﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Password.aspx.cs" Inherits="CocisWeb.admin.Password" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title></title>
     <link href="css/cont.css" rel="stylesheet" type="text/css" />
</head>
<body style="padding-left:5px;padding-right:5px;background-image:url(../images/bg.gif);	background-repeat:repeat-x;">
  <form id="form1" runat="server">
  <table style="height:100%; width:100%;" border="0px" cellpadding="0px" cellspacing="0px">
  <tr style="background-image: url(../images/bg_header.gif); background-repeat: repeat-x; height:47px">
  <td style="width:10px;background-image: url(../images/main_hl.gif);"></td>
  <td>
  <span style="float: left; background-image: url(../images/main_hl2.gif); width: 15px; background-repeat: no-repeat; height: 47px"></span>
      <span style="padding-right: 10px; padding-left: 10px; float: left; background-image: url(../images/main_hb.gif); line-height:47px; color: white; background-repeat: repeat-x; height: 47px; text-align: center;">
      Change Password </span>
      <span style="float: left; background-image: url(../images/main_hr.gif); width: 60px; background-repeat: no-repeat; height: 47px"></span>
  </td>
  <td style="background-image: url(../images/main_hr2.gif);width:10px"></td>
  </tr>
  <tr>
  <td style="background-image: url(../images/main_ls.gif)"></td>

  <td style="padding-right: 10px; padding-left: 10px; padding-bottom: 10px; color: #566984; padding-top:10px; background-color: white;">
             
                &nbsp;<fieldset style="width:550px;">
<legend>Change Password</legend>

          <br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Old Password：<asp:TextBox ID="TextBoxOld" 
              runat="server" TextMode="Password"></asp:TextBox>
          <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
              ControlToValidate="TextBoxOld" Display="Dynamic" ErrorMessage="Please input your old password！"></asp:RequiredFieldValidator>
          <asp:Label ID="Label2" runat="server" Font-Bold="True" ForeColor="Red" 
              Text="*" Visible="False"></asp:Label>
          <br />
          <br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; New Password：<asp:TextBox ID="TextBoxNews" 
              runat="server" TextMode="Password"></asp:TextBox>
          <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
              ControlToValidate="TextBoxNews" Display="Dynamic" ErrorMessage="Please input your new password！"></asp:RequiredFieldValidator>
          <br />
          <br />
          Confirm New Password：<asp:TextBox ID="TextBoxNews1" runat="server" TextMode="Password"></asp:TextBox>
          <asp:CompareValidator ID="CompareValidator1" runat="server" 
              ControlToCompare="TextBoxNews" ControlToValidate="TextBoxNews1" 
              Display="Dynamic" ErrorMessage="Passwords do not match！"></asp:CompareValidator>
          <br />
          <br />
          <br />
&nbsp;&nbsp;&nbsp;
              <asp:Button ID="ButtonUpdate" runat="server" CssClass="button_normal" 
                  onclick="ButtonUpdate_Click" 
                  Text="Save" />
          &nbsp;<asp:Label ID="Label1" runat="server" Font-Bold="True" ForeColor="Red" 
              Text="User password updated successfully!Please remember new password！" Visible="False"></asp:Label>
          <br />
          <br />
          <br />
      </fieldset>
      <br />
      <br />
      <br />
      <br />
      <br />
      </td>
      <td style="background-image: url(../images/main_rs.gif)"></td>
  </tr>
  </table>
  </form>
</body>
</html>
